package com.usian.apis.admin;

import com.usian.model.admin.dtos.ChannelDto;
import com.usian.model.admin.pojos.AdChannel;
import com.usian.model.common.dtos.PageResponseResult;
import com.usian.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;


@Api(value = "频道管理",tags = "Adchannel",description = "频道管理API")
public interface AdChannelControllerApi {


     PageResponseResult findAll(@RequestBody ChannelDto channelDto);

     ResponseResult findById(@PathVariable("id") Integer id);

     ResponseResult add(@RequestBody AdChannel adChannel);

     ResponseResult edit(@RequestBody AdChannel adChannel);

     ResponseResult del(@PathVariable("id")Integer id);

     ResponseResult find();
}
